UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

VMware Postgres must limit modify privileges to authorized accounts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-256597 VCPG-70-000007 SV-256597r887577_rule Medium
Description
If VMware Postgres were to allow any user to make changes to database structure or logic, those changes might be implemented without undergoing the appropriate testing and approvals that are part of a robust change management process. Only qualified and authorized individuals must be allowed to obtain access to information system components to initiate changes, including upgrades and modifications. Unmanaged changes that occur to the database software libraries or configuration can lead to unauthorized or compromised installations.
STIG Date
VMware vSphere 7.0 vCenter Appliance PostgreSQL Security Technical Implementation Guide 2023-06-15

Details

Check Text ( C-60272r887575_chk )
At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "\du;"|grep "Create"

Expected result:

postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
vc | Create DB | {}
vlcmuser | Create DB | {}

If accounts other than "postgres","vc", and "vlcmuser" have any "Create" privileges, this is a finding.
Fix Text (F-60215r887576_fix)
At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "REVOKE ALL PRIVILEGES FROM ;"

Replace with the account discovered during the check.